﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectSanPhamByLoaiSP_NSX.aspx.cs" Inherits="SelectSanPhamByLoaiSP_NSX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" method="post">
        <div class="listItemProduct">
            <div style="float:left;font-size:13px;font-weight:bold;color:#cc0000;padding-bottom:10px;padding-top:10px;padding-left:5px;">
                <asp:Label ID="lblLoaiSP" runat="server" Text="" startDate="AdminPageText" style="font-weight:bold"></asp:Label>
                <asp:Label ID="Label1" runat="server" Text=">" class="AdminPageText" style="font-weight:bold"></asp:Label>
                <asp:Label ID="lblNSX" runat="server" Text="" class="AdminPageText" style="font-weight:bold"></asp:Label>
		    </div>
            <div style="float:right;font-size:13px;font-weight:bold;color:#cc0000;padding-bottom:10px;padding-top:10px;padding-right:5px">
		            <p>Có tất cả <asp:Label ID="lblSoSanPham" runat="server" Text=""></asp:Label> sản phẩm được tìm thấy</p>
		    </div>
		    <div class="topProductsz">
                <asp:Repeater ID="repSanPham" runat="server" 
                    onitemcommand="repSanPham_ItemCommand" >
		            <ItemTemplate>
    		            <div class="itemProducts">
                            <a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>" onclick="do_add('SelectSanPhamByLoaiSP_NSX.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>');" onmouseover="">
                                <img src="images/products/<%#Eval("HinhMinhHoa") %>" alt="<%#Eval("TenSanPham") %>" width="90" height="90"/>
                            </a>
						    <h3><a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>"><%#Eval("TenSanPham")%></a></h3>
						    <div style="bottom: 18px; right: 8px; position: absolute; text-align: right; width: 100%;">
                                <h5>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="BuyNow" CommandArgument='<%# Eval("id") %>'>Mua</asp:LinkButton>
                                </h5>
                            </div>
						    <div style="bottom: -10px; position: absolute; text-align: center; width: 100%;">
						        <span style="line-height:1.3em;">Giá: <%# String.Format("{0:#,##0;Nothing}", Eval("Gia"))%> VNĐ</span><BR />
						        &nbsp;&nbsp;&nbsp;<span><br /></span>
						    &nbsp;</div>
                        </div>
		            </ItemTemplate>
		        </asp:Repeater>  
		    </div>
        </div> 
        <div style="margin-top:10px; float:right; padding-right:20px;">
		    <asp:Label ID="lblPaging" Runat="server" 
                CssClass="PagingText" Visible="false" /> 
            &nbsp;&nbsp;
            <asp:HyperLink ID="previousLink" Runat="server" 
                CssClass="PagingText" Visible="false" style="cursor:pointer; text-decoration:underline;">Trang truớc</asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="nextLink" Runat="server" 
                CssClass="PagingText" Visible="false" style="cursor:pointer; text-decoration:underline;">Trang sau</asp:HyperLink><br />
        </div>     
    </form>       
</body>
</html>
